package com.ruoyi.biz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 值班班次类型对象 biz_duty_type
 * 
 * @author ruoyi
 * @date 2021-09-02
 */
public class BizDutyType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Integer id;

    /** 值班班次代码 */
    @Excel(name = "值班班次代码")
    private String dutyTypeCode;

    /** 班次名称 */
    @Excel(name = "班次名称")
    private String dutyTypeName;

    /** 类型: 0 通用, 1 员工添加 */
    @Excel(name = "类型: 0 通用, 1 员工添加")
    private String type;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer userId;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer orderNum;

    /** 状态（0显示 1隐藏） */
    @Excel(name = "状态", readConverterExp = "0=显示,1=隐藏")
    private String visible;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setDutyTypeCode(String dutyTypeCode) 
    {
        this.dutyTypeCode = dutyTypeCode;
    }

    public String getDutyTypeCode() 
    {
        return dutyTypeCode;
    }
    public void setDutyTypeName(String dutyTypeName) 
    {
        this.dutyTypeName = dutyTypeName;
    }

    public String getDutyTypeName() 
    {
        return dutyTypeName;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setOrderNum(Integer orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() 
    {
        return orderNum;
    }
    public void setVisible(String visible) 
    {
        this.visible = visible;
    }

    public String getVisible() 
    {
        return visible;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dutyTypeCode", getDutyTypeCode())
            .append("dutyTypeName", getDutyTypeName())
            .append("type", getType())
            .append("userId", getUserId())
            .append("orderNum", getOrderNum())
            .append("visible", getVisible())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
